﻿$fn = { 2 * 2 }
write "$fn"

# Execute the function by putting an ampersand out front
&$fn

$fn = { $args[0] * 2 }
&$fn 6

$fac = { $f *= $_ }
1..10 | foreach { $f = 1 } $fac { $f }
